package repository;

import model.BidRecord;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface BidRecordRepository extends JpaRepository<BidRecord, Long> {
    List<BidRecord> findByUserIdAndActiveTrue(Long userId);
}

